package guda.house.dal.dao;

import guda.house.dal.dataobject.BankChargeRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface BankChargeRuleDAO {


    Long insert(BankChargeRuleDO bankChargeRule);


    BankChargeRuleDO getBankChargeRuleById(Long ruleId);


    boolean delBankChargeRuleById(Long ruleId);

    List<BankChargeRuleDO> getBankChargeRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<BankChargeRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(BankChargeRuleDO bankChargeRule);

}
